package sd.qd.xiaoming.coffeedesk.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import sd.qd.xiaoming.coffeedesk.dao.CdShareAccountDAO;
import sd.qd.xiaoming.coffeedesk.entity.CdShareAccount;

@Transactional
@Service
public class CdShareAccountService extends BaseService<CdShareAccountDAO, CdShareAccount> {

	@SuppressWarnings("unused")
	@Autowired
	private CdShareAccountDAO dao;

    public CdShareAccount findByCode(final String code) {
        return this.dao.findByCode(code);
    }

}
